﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_articlemodify.aspx.cs" Inherits="Web.admin_articlemodify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
         <link href="css/CodeProject.css" rel="stylesheet" type="text/css" />
    <link href="css/Page.css" rel="stylesheet" type="text/css" />
    
     <script type="text/javascript" src="../js/jquery.js"></script>    
    <script type="text/javascript">
        $(document).ready(init);
        function init() {
           
        }
            
    </script>  
    <script type="text/javascript" charset="utf-8" src="kindeditor.js"></script>
    <script type="text/javascript">
        KE.show({
            id : 'detail', 
            imageUploadJson : '../../upload_json.ashx',
            fileManagerJson : '../../file_manager_json.ashx',
            allowFileManager : true,
		    afterCreate : function(id) {
			    KE.event.ctrl(document, 13, function() {
				    KE.util.setData(id);
				    document.forms['form1'].submit();
			    });
			    KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
				    KE.util.setData(id);
				    document.forms['form1'].submit();
			    });
		    }
        });
    </script>     
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="border:1px solid #000000;margin-top:10px" border="0" cellpadding="0" cellspacing="0" width="98%">
            <tr>
                <td colspan="3" class="TitleBar" colspan="left" align="center">
                    文章修改
                </td>
            </tr>
             <tr>
                <td class="ItemName" align="right">标题：</td>
                <td colspan="2" class="ItemCellLeft" align="left">
                    <asp:TextBox style="width:400px" ID="tbTitle" runat="server" ></asp:TextBox>
                </td>
            </tr> 
            <tr>
                <td class="ItemName" align="right">类别：</td>
                <td class="ItemCellLeft" align="left">
                    <asp:DropDownList ID="ddlArticleKind" runat="server">
                    </asp:DropDownList>
                </td>
                <td class="ItemCellRight">&nbsp;</td>
            </tr>   
            <tr>
                <td class="ItemNameBottom" align="right">状态：</td>
                <td class="ItemCellLeftBottom" align="left">
                    <asp:DropDownList ID="ddlStatus" runat="server">
                        <asp:ListItem Selected=True Value="1">有效</asp:ListItem>
                        <asp:ListItem Value="0">无效</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="ItemCellRightBottom">&nbsp;</td>
            </tr>  
              <tr>
                <td style="border-top:1px solid #000000" class="ItemNameBottom" align="right">正文：</td>
                <td style="border-top:1px solid #000000" colspan="2" class="ItemCellLeftBottom" align="left">
                    <textarea runat="server" id="detail" cols="100" rows="8" style="width:600px;height:300px;visibility:hidden;" runat="server"></textarea>
                </td>
            </tr>                                           
            <tr>
                <td align="center" class="Pager" colspan="3">
                    <asp:Button ID="btAdd" runat="server" Text="确认修改" onclick="btModify_Click" />
                </td>
            </tr>                              
        </table>
    </div>
    </form>
</body>
</html>
